package com.geovis.emergency.spd.entity.pc.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.geovis.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 应急预案指挥模块 -  预案成员单元责任
 * </p>
 *
 * @author Lonsho
 * @since 2022-07-11
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("pc_plan_duty_dept")
@ApiModel(value = "PcPlanDutyDept对象", description = "应急预案指挥模块 -  预案成员单元责任")
public class PcPlanDutyDept extends BaseEntity {

    @ApiModelProperty("预案id")
    private String pcPlanId;

    @ApiModelProperty("部门id")
    private String deptId;

    @ApiModelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("责职")
    private String duty;

    @ApiModelProperty("创建部门")
    @TableField(fill = FieldFill.INSERT,  updateStrategy = FieldStrategy.NEVER)
    private String createDept;

    @ApiModelProperty(value = "科大推送id",hidden = true)
    private String pushId;
}
